/**
 * <pre>
 * Title: 		ResponseMessage.java
 * Project: 	HP-Common
 * Author:		linriqing
 * Create:	 	2008-8-28 下午07:31:47
 * Copyright: 	Copyright (c) 2008
 * Company:
 * <pre>
 */
package com.hengpeng.itfinbase.message;

import com.hengpeng.common.exception.ServiceResult;
import com.hengpeng.itfinbase.constants.RespCodeConstants;

/**
 * <pre>
 * 彩票核心业务系统响应消息体
 * </pre>
 * @author linriqing
 * @version 1.0, 2008-8-28
 */
public class ResponseMessage extends TransMessage
{
	/**
	 * 消息类型
	 */
	private String CmdId;

	/**
	 * 应答返回码
	 */
	private String RespCode = RespCodeConstants.CommonCode.TRANS_SUC;

	/**
	 * 应答描述
	 */
	private String RespDesc = RespCodeConstants.CommonCode.TRANS_SUC_MSG;

	/**
	 * 第三方分配的商户号
	 */
	private String MerCustId;

	/**
	 * 私有域
	 */
	private String MerPriv;

	/**
	 * 签名
	 */
	private String ChkValue;

	private static final long serialVersionUID = -3308543663222999318L;

	/**
	 * 返回的附加信息
	 */
	private Object returnObject;

	/**
	 * 提交表单或者错误内容
	 */
	private String orderFormContent;

	public String getOrderFormContent()
	{
		return orderFormContent;
	}

	public void setOrderFormContent(String orderFormContent)
	{
		this.orderFormContent = orderFormContent;
	}

	/**
	 * 构造函数
	 */
	public ResponseMessage()
	{
		super();
	}

	/**
	 * 构造函数
	 * @param result 业务方法返回对象
	 */
	public ResponseMessage(ServiceResult<?> result)
	{
		super();
	}

	public Object getReturnObject()
	{
		return returnObject;
	}

	public void setReturnObject(Object returnObject)
	{
		this.returnObject = returnObject;
	}

	public String getCmdId()
	{
		return CmdId;
	}

	public void setCmdId(String cmdId)
	{
		CmdId = cmdId;
	}

	public String getRespCode()
	{
		return RespCode;
	}

	public void setRespCode(String respCode)
	{
		RespCode = respCode;
	}

	public String getRespDesc()
	{
		return RespDesc;
	}

	public void setRespDesc(String respDesc)
	{
		RespDesc = respDesc;
	}

	public String getMerCustId()
	{
		return MerCustId;
	}

	public void setMerCustId(String merCustId)
	{
		MerCustId = merCustId;
	}

	public String getMerPriv()
	{
		return MerPriv;
	}

	public void setMerPriv(String merPriv)
	{
		MerPriv = merPriv;
	}

	public String getChkValue()
	{
		return ChkValue;
	}

	public void setChkValue(String chkValue)
	{
		ChkValue = chkValue;
	}

}
